package cn.iune.erp.inventory;

import java.text.ParseException;
import java.util.List;
import com.alibaba.fastjson.JSONObject;

import cn.iune.common.base.IBizDataIface;

public interface IStocktakingService extends IBizDataIface {

	List<Stocktaking> getAll();

	Stocktaking getByID(String fID);

	void delete(String fID);

	Stocktaking getByNo(String documentNo, String enterpriseNo);

	JSONObject save(JSONObject object) throws Throwable;

	int confirm(String fID);

	int active(String fID);

	int close(String fID);

	int open(String fID);

	int unAgree(String fID);

	void insert(Stocktaking obj);

	void update(Stocktaking obj);

	int agreeIt(String fID, String usercode, String username, String userId);

	JSONObject saveDetail(JSONObject object) throws ParseException;

	JSONObject newDataDetail(JSONObject param);

	JSONObject queryDataDetail(JSONObject param);

	Stocktaking packing(String billType, String billTypeName, String systemCode, String cUsercode, String cUsername,
			String userId, String enterpriseNo, String enterpriseName);





}